import request from '@/utils/request'

// 查询无人机注册管理列表
export function listWrjzc(query) {
  return request({
    url: '/recordset/wrjzc/list',
    method: 'get',
    params: query
  })
}

// 查询无人机注册管理详细
export function getWrjzc(id) {
  return request({
    url: '/recordset/wrjzc/' + id,
    method: 'get'
  })
}

// 新增无人机注册管理
export function addWrjzc(data) {
  return request({
    url: '/recordset/wrjzc',
    method: 'post',
    data: data
  })
}

// 修改无人机注册管理
export function updateWrjzc(data) {
  return request({
    url: '/recordset/wrjzc',
    method: 'put',
    data: data
  })
}

// 删除无人机注册管理
export function delWrjzc(id) {
  return request({
    url: '/recordset/wrjzc/' + id,
    method: 'delete'
  })
}
